﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.EntityFrameworkCore;

namespace AreaOracle
{
   public class Steel_DbContext:DbContext
    {
        public DbSet<Steel_Area> Areas { get; set; }

        protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
            => optionsBuilder
                .UseOracle(@"DATA SOURCE=10.130.0.136:1521/jwwl;PASSWORD=Jwell2016;PERSIST SECURITY INFO=True;USER ID=jw;");
//                .UseOracle(@"DATA SOURCE=10.6.73.164:1522/Jwell;PASSWORD=Jwell2016;PERSIST SECURITY INFO=True;USER ID=jw;");
    }
}
